﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TimKenSite.Master" AutoEventWireup="true" CodeBehind="ErrorAuthority.aspx.cs" Inherits="TimKen.Web.ErrorAuthority" %>


<%@ Register Src="UserControls/UserCenter.ascx" TagName="UserCenter" TagPrefix="uc1" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" runat="server">
    <uc1:UserCenter ID="ucUserCenter" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body" runat="server">

    <script type="text/javascript">
        function checkForm() {
            if (document.getElementById("<%=fileBusinessLicenseCopy.ClientID%>").value == "") {
                alert('<%=GetLangString("x_BusinessLicenseCopyNotAllowBlank")%>');
                return false;
            }
            if (document.getElementById("<%=fileTaxRegistrationCopy.ClientID%>").value == "") {
                alert('<%=GetLangString("x_TaxRegistrationCopyNotAllowBlank")%>');
                return false;
            }
            return true;
        }
    </script>
    <form runat="server">
   <div class="rtitle">
        <%=GetLangString("Apply") %>
    </div>
    <div class="ordersend ErrorAuth">

        <ul>
            <li><%=GetLangString("ErrorAuthority")%></li>
            <li><%=GetLangString("BrowseCustomerMessage")%></li>
            <li>
          <div class="formtitle"><%=GetLangString("BusinessLicenseCopy")%>：</div>
          <asp:FileUpload ID="fileBusinessLicenseCopy" runat="server"  Width="200px" />*
         </li>
            <li>
           <div class="formtitle"><%=GetLangString("TaxRegistrationCopy")%>：</div>
               <asp:FileUpload ID="fileTaxRegistrationCopy" runat="server"  Width="200px"/>*
            </li>
            
             <li>
           <div class="formtitle"><%=GetLangString("ShipAddress")%>：</div>
              <asp:TextBox  ID="txtShipAddress"  runat="server"  Width="200px"></asp:TextBox>
            </li>
            
                <li>
           <div class="formtitle"><%=GetLangString("ShippingLinkMan")%>：</div>
              <asp:TextBox  ID="txtShippingLinkMan"  runat="server"  Width="200px"></asp:TextBox>
            </li>   
             <li>
           <div class="formtitle"><%=GetLangString("DeliveryAddress")%>：</div>
              <asp:TextBox  ID="txtDeliveryAddress"  runat="server"  Width="200px"></asp:TextBox>
            </li>
                <li>
           <div class="formtitle"><%=GetLangString("DeliveryLinkMan")%>：</div>
              <asp:TextBox  ID="txtDeliveryLinkMan"  runat="server"  Width="200px"></asp:TextBox>
            </li>
            
            
            <li>
            <asp:LinkButton ID="btnRegister" runat="server" OnClientClick="return checkForm(); "  OnClick="btnRegister_Click" CssClass="submitlink"></asp:LinkButton>
            </li>
        </ul>
    </div>
    </form>
</asp:Content>
